package edu.usx.server.service;

import edu.usx.server.pojo.Favorite;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.usx.server.pojo.RespBean;

import java.security.Principal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Usx
 * @since 2024-07-23
 */
public interface IFavoriteService extends IService<Favorite> {

    RespBean getFavoriteList(Principal principal);

    RespBean addSite(Long id, Principal principal);


    RespBean deleteFavorite(Long id, Principal principal);
}
